package com.sunny.design.interpreter.calculate;

public class SubInterpreter extends AbstractInterpreter {
    public SubInterpreter(IArithmeticExpression left, IArithmeticExpression right) {
        super(left, right);
    }

    public int interpret() {
        return this.left.interpret() - this.right.interpret();
    }
}